package com.itcm.skymail.product.feign;

import com.itcm.common.to.SkuHasStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 描述:
 *
 * @author cm_fighting
 * @create 2020-10-13 3:08 下午
 */
@FeignClient("skymail-ware")
public interface WareFeignService {
    @PostMapping("/ware/waresku/hasStock")
    List<SkuHasStockVo> getSkuHasStock(@RequestBody List<Long> skuIds);
}

